/**
 * 
 * 用户管理
 * author:lx 
 * 
 * 
 */
import request from '../utils/request_BX'
export function getUserList(data) {
  return request({
    url: 'auth/getList',
    method: 'post',
    data,
  })
}
//删除
export function deleteUser(params) {
  return request({
    url: "auth/delete",
    method: "post",
    params,
  })
}
//add
export function addUser(data) {
  return request({
    url: "auth/add",
    method: "post",
    data,
  })
}
//manager 
//add
export function managerUser(data) {
  return request({
    url: "auth/update",
    method: "post",
    data,
  })
}

//查询功能
export function searchUser(data) {
  return request({
    url: 'auth/pageLesson',
    method: "post",
    data,
  })
}

